package eirkdbd.lab1.fuzzyqueries.circumstances;

import eirkdbd.lab1.data.Team;

public class TheSameLeague implements Circumstance{

	public double getValue(Team teamA, Team teamB) {
		if (teamA.getTeam().equalsIgnoreCase(teamB.getTeam()))
			return 1.;
		return 0.;
	}
	
}
